﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/static/include/topLess.jsp"%>
<table>
	<tbody>

		<tr>
			<th><img src="${ctx}/static/images/pages/cen/rig/ico_01.png"
				align="absmiddle">&nbsp;单位选择</th>
		</tr>
	</tbody>
</table>



<br />
<c:if test="${empty obj}">
	<b>没有下级单位。</b>
</c:if>
<c:if test="${not empty obj}">

	<table id="listTable">
	<tbody>
		<tr>
				<th width="30%">单位名称</th>
				<th width="25%">组织机构代码</th>
				<th width="15%">行政区划</th>
				<th width="15%">单位类型</th>
				<th>操作</th>	
		</tr>
		<c:forEach var="oneRow" items="${obj}">
			<tr>
				<td align="left" class="tab_td_rig">${oneRow.userUnit}</td>
				<td align="left" >${oneRow.userInstitutionCode}</td>
				<td align="left" >${oneRow.userAreaName}</td>
				<td align="left" >${oneRow.roleName}</td>
				<td align="left" ><a href="#"
					onclick="chooseUnit('${oneRow.id}','${oneRow.userUnit}')"><img
						src="${baseURL}/static/images/tab/ico_01.png" width="16"
						height="16" border="0" align="absmiddle" />选择</a></td>
			</tr>
		</c:forEach>
	
		</tbody>
	</table>
</c:if>
<script>
//查找直属单位
function chooseUnit(id,name){
     closeWin({"userId":id,"unitName":name});
}
</script>
<%@ include file="/static/include/bottom.jsp"%>
